LearnPress\Models\UserItems\UserQuizModel A

Total Complexity 68
Dependencies 14
Dependents 2
Total lines 546
Lines of code 320
Logical lines of code 194
Comment lines 149
Methods 16
Properties 6

Methods 16

Method Rating Maintainability Complexity Lines of code
calculate_quiz_result()
B
35 15 85
check_can_retake()
A
44 11 42
check_can_start()
A
47 8 35
get_result()
S
50 5 31
get_timestamp_remaining()
S
53 5 22
get_attempts()
S
57 5 16
retake()
S
51 3 26
get_user_quiz_model_from_db()
S
65 2 9
get_user_model()
S
71 2 6
get_quiz_model()
S
71 2 6
get_question_ids()
S
65 2 9
start_quiz()
S
65 2 9
get_checked_questions()
S
65 2 10
get_time_spend()
S
67 2 8
get_status()
S
82 1 3
get_retaken_count()
S
80 1 3